Bug 1969769 - Change uses of ast.Str with ast.Constant. r=firefox-build-system-review...
authorMike Hommey <mh+mozilla@glandium.org>
Tue, 19 Aug 2025 05:09:09 +0000 (05:09 +0000)
committerMike Hommey <glandium@debian.org>
Wed, 2 Sep 2026 01:31:33 +0000 (10:31 +0900)
commit4e0aa9c67ddfbc6ab6d7986da0f73c2396e9c147
tree0e803b7aded4059f42e2117a17e960957926f3cf
parentb541bb0c04944694fa47fffc645c503861cef5c7
Bug 1969769 - Change uses of ast.Str with ast.Constant. r=firefox-build-system-reviewers,ahochheiden

ast.Str was deprecated in python 3.12 and removed in 3.14. It inherited
from ast.Constant, `Str.s` was equivalent to `Constant.value`, so we can
use the latter on both old and newer python versions.

Differential Revision: https://phabricator.services.mozilla.com/D261512

Gbp-Pq: Topic fixes
Gbp-Pq: Name Bug-1969769-Change-uses-of-ast.Str-with-ast.Constant.patch
python/mozbuild/mozbuild/frontend/reader.py
python/mozbuild/mozbuild/vendor/rewrite_mozbuild.py